package org.scs.carleton.ca.pgdt.core.parser.internal.factory;

import org.scs.carleton.ca.pgdt.core.internal.parser.ASTArgument;
import org.scs.carleton.ca.pgdt.core.internal.parser.ASTTranslationUnit;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTNode;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTNodeTypes;

/**
 * The ArgumentFactory is used to create argument nodes
 * 
 * @author tessierj
 *
 */
public class ArgumentFactory {
	private ArgumentFactory() {
		
	}
	
	public static ASTArgument createArgument(ASTTranslationUnit translationUnit, IASTNode node) {
		return new ASTArgument(translationUnit, IASTNodeTypes.ARGUMENT, node);
	}
}
